package com.gict.antifraudback.mapper;

import com.gict.antifraudback.entity.LikeRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
* @author XIE
* @description 针对表【like_record】的数据库操作Mapper
* @createDate 2023-11-02 15:18:53
* @Entity com.gict.antifraudback.entity.LikeRecord
*/
public interface LikeRecordMapper extends BaseMapper<LikeRecord> {

    @MapKey("id")
    Map<Integer, Map<String, Long>> countByArticleCommentIdsAndType(@Param("ids") List<Integer> ids);
}




